<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="testjs/fun.js"></script>
</head>
<body onload="showkuan()">
<p id="one">时间</p>
<button onclick="showtime()">显示时间</button>
<p id="two">变量类型</p>
<button onclick="showype()">显示类型</button>
<button onclick="closeWin()">关闭浏览器页面</button>
<input type="button" onclick="location.href='http://www.163.com'" value="连接到163">
<input type="button" value="刷新页面" onclick="location.reload()">
<!--<input type="button" value="替换页面" onclick="location.">-->
</body>
</html>